{ foreach from=$articles item=article }<a href="{if $article.link}{$article.link}{else}redir.php?catalog_id={$article.catalog}&amp;object_id={$article.id}{/if}" target="_blank" { if $article.highlight }class="highlight"{ /if }><img src="file.php?cmd=preview&id={$article.picture_id}" width="{if $params.width}{$params.width}{else}240{/if}" height="{if $params.height}{$params.height}{else}180{/if}" border="0"/></a>
{ /foreach}